//
//  AGSGeometryParse.h
//  dataGathering
//
//  Created by apple on 14/12/31.
//  Copyright (c) 2014年 shuili. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ArcGIS/ArcGIS.h>

#import "collectedData.h"

@interface AGSGeometryParse : NSObject

+(NSString*)GeometryToJson:(AGSGeometry *)geometry;
+(AGSGeometry*)JsonToGeometry:(NSString *)json geometype:(NSString *)type;
+(NSString*)GeometryToWKT:(collectedData*)data;
+(AGSGeometry*)TextToGeometry:(NSString *)text;
//+(AGSGeometry*)AGSGeometryWithSpatialiteWKB_gaia:(const unsigned char*)wkb size:(size_t)size;
@end
